package com.xianyun.site.iblog.dto.blog;

import com.xianyun.common.core.domain.IPageQuery;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @author mac_zyj
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ArticleListSortQry extends IPageQuery implements Serializable {
    private static final long serialVersionUID = 1L;
    @NotEmpty(message = "Token不能为空")
    private String token;
    /**用户ID 用来 Service 先处理 Token 再给 这个赋值*/
    private Long uid;
    /**博客名称*/
    private String blogName;
    /**是否顶置*/
    private Integer topPriority;
    /**是否原创*/
    private Integer isCreative;
    /**专栏ID*/
    private Integer columnId;
    /** 开始时间 */
    private String beginTime;
    /** 结束时间 */
    private String endTime;
}
